<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的行程 - 苏州数字文旅</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#E63946',
                        secondary: '#457B9D',
                        accent: '#F1C40F',
                        dark: '#1D3557',
                        light: '#F1FAEE',
                    },
                    fontFamily: {
                        sans: ['PingFang SC', 'Helvetica Neue', 'Arial', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-shadow {
                box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            }
            .nav-item-active {
                color: #E63946;
                border-bottom: 3px solid #E63946;
            }
            .timeline-line {
                @apply absolute left-3 top-0 bottom-0 w-0.5 bg-gray-200;
            }
            .timeline-dot {
                @apply absolute left-0 w-7 h-7 rounded-full bg-white border-2 border-primary flex items-center justify-center z-10;
            }
        }
    </style>
</head>
<body class="bg-gray-50 h-screen flex flex-col">
    <!-- 顶部导航 -->
    <header class="bg-white shadow-sm sticky top-0 z-10">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <a href="planner.html" class="text-gray-600 hover:text-primary transition-colors">
                <i class="fa fa-arrow-left text-xl"></i>
            </a>
            <h1 class="text-[clamp(1.2rem,5vw,1.5rem)] font-bold text-dark">我的苏州之旅</h1>
            <div class="flex space-x-3">
                <button class="text-gray-600 hover:text-primary transition-colors">
                    <i class="fa fa-share-alt text-xl"></i>
                </button>
                <button class="text-gray-600 hover:text-primary transition-colors">
                    <i class="fa fa-star-o text-xl"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 行程概览 -->
    <div class="bg-white p-4">
        <div class="flex justify-between items-center mb-3">
            <div>
                <h2 class="text-lg font-bold text-dark">苏州经典3日游</h2>
                <p class="text-sm text-gray-500">2023年10月15日 - 2023年10月17日 · 2位成人</p>
            </div>
            <div class="flex space-x-2">
                <button class="px-3 py-1 bg-primary/10 text-primary text-sm rounded-lg hover:bg-primary/20 transition-colors">
                    <i class="fa fa-calendar-check-o mr-1"></i> 调整日期
                </button>
            </div>
        </div>

        <!-- 行程标签 -->
        <div class="flex flex-wrap gap-2 mb-4">
            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded-full">古典园林</span>
            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded-full">历史古迹</span>
            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded-full">美食体验</span>
            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded-full">舒适型酒店</span>
            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded-full">市中心区域</span>
        </div>

        <!-- 行程进度 -->
        <div class="flex border-b border-gray-200">
            <button class="py-3 px-4 font-medium text-primary border-b-2 border-primary">第1天</button>
            <button class="py-3 px-4 font-medium text-gray-500 hover:text-primary transition-colors">第2天</button>
            <button class="py-3 px-4 font-medium text-gray-500 hover:text-primary transition-colors">第3天</button>
        </div>
    </div>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto">
        <!-- 行程详情 -->
        <div class="p-4 space-y-6">
            <!-- 酒店信息 -->
            <div class="bg-white rounded-xl p-4 card-shadow">
                <div class="flex items-start gap-3">
                    <img src="https://picsum.photos/id/1048/120/120" alt="苏州平江府酒店" class="w-20 h-20 rounded-lg object-cover">
                    <div class="flex-1">
                        <div class="flex justify-between">
                            <h3 class="font-semibold text-dark">苏州平江府酒店</h3>
                            <div class="flex items-center">
                                <i class="fa fa-star text-accent text-xs"></i>
                                <span class="text-xs font-medium ml-1">4.6</span>
                            </div>
                        </div>
                        <p class="text-xs text-gray-500 mt-1">平江区临顿路188号 · 距拙政园步行10分钟</p>
                        <div class="flex justify-between items-center mt-2">
                            <span class="text-primary font-bold">¥580/晚</span>
                            <button class="text-xs text-secondary hover:text-secondary/80 transition-colors">
                                <i class="fa fa-map-marker mr-1"></i> 查看地图
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 行程时间线 -->
            <div class="relative pl-8">
                <div class="timeline-line"></div>

                <!-- 上午行程 -->
                <div class="mb-6 relative">
                    <div class="timeline-dot">
                        <i class="fa fa-sun-o text-primary"></i>
                    </div>
                    <div class="bg-white rounded-xl p-4 card-shadow">
                        <div class="flex justify-between items-center mb-3">
                            <h3 class="font-semibold text-dark">上午行程</h3>
                            <span class="text-xs text-gray-500">08:30 - 12:00</span>
                        </div>

                        <div class="space-y-4">
                            <div class="flex gap-3">
                                <img src="https://picsum.photos/id/1039/80/80" alt="拙政园" class="w-16 h-16 rounded-lg object-cover">
                                <div class="flex-1">
                                    <div class="flex justify-between">
                                        <h4 class="font-medium text-dark">拙政园</h4>
                                        <span class="text-xs text-gray-500">08:30 - 10:30</span>
                                    </div>
                                    <p class="text-xs text-gray-500 mt-1">中国四大名园之首，江南古典园林的代表作品</p>
                                    <div class="flex items-center mt-2 text-xs">
                                        <span class="inline-block bg-gray-100 text-gray-600 px-2 py-0.5 rounded mr-2">
                                            <i class="fa fa-ticket mr-1"></i> ¥70/人
                                        </span>
                                        <span class="text-secondary hover:text-secondary/80 transition-colors">
                                            <i class="fa fa-info-circle mr-1"></i> 详情
                                        </span>
                                    </div>
                                </div>
                            </div>

                            <div class="flex items-center text-gray-400">
                                <i class="fa fa-long-arrow-down mr-2"></i>
                                <span class="text-xs">步行5分钟</span>
                            </div>

                            <div class="flex gap-3">
                                <img src="https://picsum.photos/id/1050/80/80" alt="苏州博物馆" class="w-16 h-16 rounded-lg object-cover">
                                <div class="flex-1">
                                    <div class="flex justify-between">
                                        <h4 class="font-medium text-dark">苏州博物馆</h4>
                                        <span class="text-xs text-gray-500">10:45 - 12:00</span>
                                    </div>
                                    <p class="text-xs text-gray-500 mt-1">贝聿铭设计的现代化苏州风格建筑，馆藏丰富</p>
                                    <div class="flex items-center mt-2 text-xs">
                                        <span class="inline-block bg-gray-100 text-gray-600 px-2 py-0.5 rounded mr-2">
                                            <i class="fa fa-ticket mr-1"></i> 免费
                                        </span>
                                        <span class="text-secondary hover:text-secondary/80 transition-colors">
                                            <i class="fa fa-info-circle mr-1"></i> 详情
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 午餐 -->
                <div class="mb-6 relative">
                    <div class="timeline-dot">
                        <i class="fa fa-cutlery text-primary"></i>
                    </div>
                    <div class="bg-white rounded-xl p-4 card-shadow">
                        <div class="flex justify-between items-center mb-3">
                            <h3 class="font-semibold text-dark">午餐</h3>
                            <span class="text-xs text-gray-500">12:30 - 14:00</span>
                        </div>

                        <div class="flex gap-3">
                            <img src="https://picsum.photos/id/1080/80/80" alt="松鹤楼" class="w-16 h-16 rounded-lg object-cover">
                            <div class="flex-1">
                                <div class="flex justify-between">
                                    <h4 class="font-medium text-dark">松鹤楼(观前街店)</h4>
                                    <span class="text-xs text-gray-500">步行8分钟</span>
                                </div>
                                <p class="text-xs text-gray-500 mt-1">苏州老字号苏帮菜，推荐松鼠桂鱼、响油鳝糊</p>
                                <div class="flex items-center mt-2 text-xs">
                                    <span class="inline-block bg-gray-100 text-gray-600 px-2 py-0.5 rounded mr-2">
                                        <i class="fa fa-credit-card mr-1"></i> ¥180/人
                                    </span>
                                    <button class="text-secondary hover:text-secondary/80 transition-colors">
                                        <i class="fa fa-map-marker mr-1"></i> 导航
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 下午行程 -->
                <div class="mb-6 relative">
                    <div class="timeline-dot">
                        <i class="fa fa-cloud text-primary"></i>
                    </div>
                    <div class="bg-white rounded-xl p-4 card-shadow">
                        <div class="flex justify-between items-center mb-3">
                            <h3 class="font-semibold text-dark">下午行程</h3>
                            <span class="text-xs text-gray-500">14:30 - 18:00</span>
                        </div>

                        <div class="space-y-4">
                            <div class="flex gap-3">
                                <img src="https://picsum.photos/id/1040/80/80" alt="留园" class="w-16 h-16 rounded-lg object-cover">
                                <div class="flex-1">
                                    <div class="flex justify-between">
                                        <h4 class="font-medium text-dark">留园</h4>
                                        <span class="text-xs text-gray-500">14:30 - 16:00</span>
                                    </div>
                                    <p class="text-xs text-gray-500 mt-1">以建筑艺术精湛著称，厅堂宏敞华丽，庭院富有变化</p>
                                    <div class="flex items-center mt-2 text-xs">
                                        <span class="inline-block bg-gray-100 text-gray-600 px-2 py-0.5 rounded mr-2">
                                            <i class="fa fa-ticket mr-1"></i> ¥55/人
                                        </span>
                                        <span class="text-secondary hover:text-secondary/80 transition-colors">
                                            <i class="fa fa-info-circle mr-1"></i> 详情
                                        </span>
                                    </div>
                                </div>
                            </div>

                            <div class="flex items-center text-gray-400">
                                <i class="fa fa-subway mr-2"></i>
                                <span class="text-xs">地铁2号线 · 15分钟</span>
                            </div>

                            <div class="flex gap-3">
                                <img src="https://picsum.photos/id/1053/80/80" alt="山塘街" class="w-16 h-16 rounded-lg object-cover">
                                <div class="flex-1">
                                    <div class="flex justify-between">
                                        <h4 class="font-medium text-dark">山塘街</h4>
                                        <span class="text-xs text-gray-500">16:30 - 18:00</span>
                                    </div>
                                    <p class="text-xs text-gray-500 mt-1">"七里山塘"，感受苏州水乡风情，品尝特色小吃</p>
                                    <div class="flex items-center mt-2 text-xs">
                                        <span class="inline-block bg-gray-100 text-gray-600 px-2 py-0.5 rounded mr-2">
                                            <i class="fa fa-ticket mr-1"></i> 免费
                                        </span>
                                        <span class="text-secondary hover:text-secondary/80 transition-colors">
                                            <i class="fa fa-info-circle mr-1"></i> 详情
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 晚餐 -->
                <div class="relative">
                    <div class="timeline-dot">
                        <i class="fa fa-moon-o text-primary"></i>
                    </div>
                    <div class="bg-white rounded-xl p-4 card-shadow">
                        <div class="flex justify-between items-center mb-3">
                            <h3 class="font-semibold text-dark">晚餐</h3>
                            <span class="text-xs text-gray-500">18:30 - 20:00</span>
                        </div>

                        <div class="flex gap-3">
                            <img src="https://picsum.photos/id/1080/80/80" alt="得月楼" class="w-16 h-16 rounded-lg object-cover">
                            <div class="flex-1">
                                <div class="flex justify-between">
                                    <h4 class="font-medium text-dark">得月楼(太监弄店)</h4>
                                    <span class="text-xs text-gray-500">打车10分钟</span>
                                </div>
                                <p class="text-xs text-gray-500 mt-1">百年老店，《舌尖上的中国》推荐，正宗苏帮菜</p>
                                <div class="flex items-center mt-2 text-xs">
                                    <span class="inline-block bg-gray-100 text-gray-600 px-2 py-0.5 rounded mr-2">
                                        <i class="fa fa-credit-card mr-1"></i> ¥220/人
                                    </span>
                                    <button class="text-secondary hover:text-secondary/80 transition-colors">
                                        <i class="fa fa-map-marker mr-1"></i> 导航
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 底部操作栏 -->
    <div class="p-4 fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-10">
        <div class="flex gap-3">
            <button class="flex-1 bg-gray-100 hover:bg-gray-200 text-dark font-medium py-3 px-4 rounded-lg transition-colors flex items-center justify-center">
                <i class="fa fa-download mr-2"></i>
                <span>下载行程</span>
            </button>
            <button class="flex-1 bg-primary hover:bg-primary/90 text-white font-medium py-3 px-4 rounded-lg transition-colors flex items-center justify-center">
                <i class="fa fa-map-o mr-2"></i>
                <span>查看地图</span>
            </button>
        </div>
    </div>

    <!-- 底部导航 -->
    <footer class="bg-white border-t border-gray-200 py-2 mt-auto">
        <div class="flex justify-around">
            <a href="home.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-home text-lg"></i>
                <span class="text-xs mt-1">首页</span>
            </a>
            <a href="planner.html" class="flex flex-col items-center py-1 nav-item-active">
                <i class="fa fa-map-o text-lg"></i>
                <span class="text-xs mt-1">规划</span>
            </a>
            <a href="checkin.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-camera text-lg"></i>
                <span class="text-xs mt-1">打卡</span>
            </a>
            <a href="profile.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-user-o text-lg"></i>
                <span class="text-xs mt-1">我的</span>
            </a>
        </div>
    </footer>
</body>
</html>